package com.rybbaby.tss.front.tssPayment.service;


import com.rybbaby.tss.core.web.service.IBaseService;
import com.rybbaby.tss.front.tssPayment.entity.ViewPaymentDetails;

import java.util.List;
import java.util.Map;
/**
 * @description 缴费表数据库操作服务接口
 * 
 * @author 雷春琼
 * 
 * @createDate 2017-08-10 上午12:22:55
 */
public interface IViewPaymentDetailsService extends IBaseService<ViewPaymentDetails> {

    List<ViewPaymentDetails> packageDetailsList(String stuId)throws Exception ;

    List<ViewPaymentDetails> otherPaymentDetailsList(String stuId)throws Exception ;

    List<ViewPaymentDetails> DepositDetailsList(String stuId)throws Exception;

    List<ViewPaymentDetails> packagePaymentDetails(String packageId)throws Exception;

    Map<String,Object> getPaymentListByMemberId(ViewPaymentDetails entity) throws Exception;

    /**
     * 查询课时包退费需要得课时包详情
     * @param packageId
     * @return
     */
    ViewPaymentDetails packageRefundDetails(String packageId)throws Exception;

    /**
     * 定金
     * @param paymentId
     * @return
     * @throws Exception
     */
    ViewPaymentDetails depositRefundDetails(String paymentId)throws Exception;

    /**
     * /一次性物品费/其他费用
     * @param stuId
     * @param
     * @return
     */
    Map<String,Object> OtherRefundDetails(String stuId, int paymentType)throws Exception;


    /**
     * 获取缴费表所有数据集合
     * */
    List<ViewPaymentDetails> getAllList();

    /**
     * 根据id集合获取该数据集合
     * */
    List<ViewPaymentDetails> findListByIds(List<String> strings);
}
